package org.jd.entity;

public class Student {
    private String StudentName;
    private  int  age;
    private String TeacherName;

    public Student(String studentName, int age, String teacherName) {
        StudentName = studentName;
        this.age = age;
        TeacherName = teacherName;
    }

    public Student() {
    }

    public String getStudentName() {
        return StudentName;
    }

    public void setStudentName(String studentName) {
        StudentName = studentName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTeacherName() {
        return TeacherName;
    }

    public void setTeacherName(String teacherName) {
        TeacherName = teacherName;
    }

    @Override
    public String toString() {
        return "Student{" +
                "StudentName='" + StudentName + '\'' +
                ", age=" + age +
                ", TeacherName='" + TeacherName + '\'' +
                '}';
    }
}
